import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import ButtonEl from '@/components/ButtonEl'
import Table from '@/components/Table'
import TableFast from '@/components/TableFast'
import Department from '@/components/Department'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },{
      path: '/button',
      name: 'ButtonEl',
      component: ButtonEl
    },{
      path: '/table',
      name: 'Table',
      component: Table
    },{
      path: '/tableFast',
      name: 'TableFast',
      component: TableFast
    },{
      path: '/department',
      name: 'Department',
      component: Department
    },
  ]
})
